package cn.reinforce.util.juhe.common;

/**
 * @author 幻幻Fate
 * @create 2018/3/21
 * @since
 */
public class JuheErrorCodes {

    /**
     * 错误的请求KEY
     */
    public static final int KEY_ERROR = 10001;

    /**
     * 	该KEY无请求权限
     */
    public static final int KEY_AUTH_ERROR = 10002;

    /**
     * KEY过期
     */
    public static final int KEY_EXIRED= 10003;

    /**
     * 	错误的OPENID
     */
    public static final int OPEN_ID_ERROR = 10004;

    /**
     * 应用未审核超时，请提交认证
     */
    public static final int APP_NOT_AUTH = 10005;

    /**
     * 未知的请求源
     */
    public static final int UNKNOWN_SOURCE = 10007;

    /**
     * 被禁止的IP
     */
    public static final int IP_FORBIDDEN = 10008;

    /**
     * 	被禁止的KEY
     */
    public static final int KEY_FORBIDDEN = 10009;

    /**
     * 	当前IP请求超过限制
     */
    public static final int CURRENT_IP_TOO_MANY = 100011;

    /**
     * 请求超过次数限制
     */
    public static final int REQUEST_TOO_MANY = 10012;

    /**
     * 测试KEY超过请求限制
     */
    public static final int KEY_REQUEST_TOO_MANY = 10013;

    /**
     * 系统内部异常(调用充值类业务时，请务必联系客服或通过订单查询接口检测订单，避免造成损失)
     */
    public static final int INTERNAL_ERROR = 10014;

    /**
     * 	接口维护
     */
    public static final int MAINTAINING = 10020;

    /**
     * 接口停用
     */
    public static final int OUT_OF_SERVICE = 10021;
}
